package com.lzx.iteam.provider;

import android.net.Uri;
import android.provider.BaseColumns;
import android.widget.BaseAdapter;

import java.util.HashMap;

import static com.baidu.location.b.g.S;

/**
 * Created by hfx on 14-12-23.
 */
public class CloudContactsDB {
    public static final String AUTHORITY = "com.lzx.iteam.provider.cloudcontactsprovider";
    private static final Uri CONTENT_URI_BASE = Uri.parse("content://" + AUTHORITY);
    private static final String ITEM_TYPE_BASE = "vnd.android.cursor.item/";
    private static final String DIR_TYPE_BASE = "vnd.android.cursor.dir/";

    public static class CloudGroupDbo implements BaseColumns {

        public static final String GROUP_ID = "group_id";
        public static final String GROUP_NAME = "group_name";
        public static final String CONTACT_ID = "contact_id";
        public static final String GROUP_TYPE = "group_type";
        public static final String CONTACT_COUNT = "contact_count";
        public static final String MEMBER_COUNT = "member_count";
        public static final String UPDATE_TIME = "update_time";
        public static final String GROUP_IMG = "group_img";
        public static final String USER_TYPE = "user_type";
        public static final String IS_NEW = "is_new";
        public static final String HAS_TAGS = "has_tags";
        public static final String CREATOR_UID = "creator_uid";
        public static final String TABLE_NAME = "cloud_group";

        /*public static final String PATH = "cloud_group";
        public static final String ID_PATH = PATH + "/#";
        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

        public static final String CONTENT_TYPE = DIR_TYPE_BASE + "contactssearch-cloud_group";
        public static final String CONTENT_ITEM_TYPE = ITEM_TYPE_BASE + "contactssearch-cloud_group";

        protected static final HashMap<String, String> CLOUD_GROUP_MAP;

        static {
            CLOUD_GROUP_MAP = new HashMap<String, String>();
            CLOUD_GROUP_MAP.put(_ID, _ID);
            CLOUD_GROUP_MAP.put(GROUP_ID, GROUP_ID);
            CLOUD_GROUP_MAP.put(GROUP_NAME, GROUP_NAME);
            CLOUD_GROUP_MAP.put(GROUP_TYPE, GROUP_TYPE);
            CLOUD_GROUP_MAP.put(CONTACT_ID, CONTACT_ID);
            CLOUD_GROUP_MAP.put(CONTACT_COUNT, CONTACT_COUNT);
            CLOUD_GROUP_MAP.put(MEMBER_COUNT, MEMBER_COUNT);
            CLOUD_GROUP_MAP.put(UPDATE_TIME, UPDATE_TIME);
            CLOUD_GROUP_MAP.put(GROUP_IMG, GROUP_IMG);
            CLOUD_GROUP_MAP.put(USER_TYPE, USER_TYPE);
            CLOUD_GROUP_MAP.put(IS_NEW, IS_NEW);
            CLOUD_GROUP_MAP.put(HAS_TAGS, HAS_TAGS);
            CLOUD_GROUP_MAP.put(CREATOR_UID, CREATOR_UID);
        }*/
    }

    public static class MsgItem implements BaseColumns {

        public static final int UNREAD = 0;
        public static final int READED = 1;
        public static final int OTHER = 2;
        public static final String COUNT = "count(*)";
        public static final String CLOUD_ID = "cloud_id";
        public static final String PHONE_NUM = "phone_num";
        public static final String IS_READED = "is_readed";
        public static final String EXEC_CODE = "execcode";
        public static final String DISPLAY_TEXT = "display_text";
        public static final String ARG_LIST = "arg_list";
        public static final String DATE_TIME = "date_time";
        public static final String MSG_TYPE_DRAWABLE_ID = "msg_type_drawable_id";
        public static final String NEXT_ACTION_DRAWABLE_ID = "next_action_drawable_id";
        public static final String CLOUD_GROUP_GROUPID = "cloud_group_id";
        public static final String CLOUD_GROUP_INVITECODE = "cloud_group_invitecode";

        public static final String TABLE_NAME = "msg_item";
        public static final String PATH = "msg_item";
        public static final String ID_PATH = PATH + "/#";
        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

        /*public static final String CONTENT_TYPE = DIR_TYPE_BASE + "contactssearch-msg_item";
        public static final String CONTENT_ITEM_TYPE = ITEM_TYPE_BASE + "contactssearch-msg_item";

        protected static final HashMap<String, String> MSG_ITEM_MAP;

        static {
            MSG_ITEM_MAP = new HashMap<String, String>();
            MSG_ITEM_MAP.put(_ID, _ID);
            MSG_ITEM_MAP.put(CLOUD_ID, CLOUD_ID);
            MSG_ITEM_MAP.put(PHONE_NUM, PHONE_NUM);
            MSG_ITEM_MAP.put(IS_READED, IS_READED);
            MSG_ITEM_MAP.put(EXEC_CODE, EXEC_CODE);
            MSG_ITEM_MAP.put(DISPLAY_TEXT, DISPLAY_TEXT);
            MSG_ITEM_MAP.put(ARG_LIST, ARG_LIST);
            MSG_ITEM_MAP.put(DATE_TIME, DATE_TIME);
            MSG_ITEM_MAP.put(MSG_TYPE_DRAWABLE_ID, MSG_TYPE_DRAWABLE_ID);
            MSG_ITEM_MAP.put(NEXT_ACTION_DRAWABLE_ID, NEXT_ACTION_DRAWABLE_ID);
            MSG_ITEM_MAP.put(COUNT, COUNT);
            MSG_ITEM_MAP.put(CLOUD_GROUP_GROUPID, CLOUD_GROUP_GROUPID);
            MSG_ITEM_MAP.put(CLOUD_GROUP_INVITECODE, CLOUD_GROUP_INVITECODE);
        }*/
    }

    /**
     * 黑名单
     */
    public static class CommunicationRule implements BaseColumns {

        public static final String CONTACT_ID = "contact_id";

        public static final String PHONE_NUMBER = "phone_number";

        public static final String CONTACT_NAME = "contact_name";

        public static final String PATTERN = "pattern";

        protected static final HashMap<String, String> sProjectionMap;

        static {
            sProjectionMap = new HashMap<String, String>();
            sProjectionMap.put(CommunicationRule._ID, CommunicationRule._ID);
            sProjectionMap.put(CommunicationRule.PHONE_NUMBER, CommunicationRule.PHONE_NUMBER);
            sProjectionMap.put(CommunicationRule.PATTERN, CommunicationRule.PATTERN);
            sProjectionMap.put(CommunicationRule.CONTACT_ID, CommunicationRule.CONTACT_ID);
            sProjectionMap.put(CommunicationRule.CONTACT_NAME, CommunicationRule.CONTACT_NAME);
        }

        /**
         * The name of this table.
         */
        public static final String TABLE_NAME = "communication_rule";

        protected static final String PATH = "communication_rule";

        /*protected static final String ID_PATH = PATH + "/#";

        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

        public static final String CONTENT_TYPE = DIR_TYPE_BASE + "contactssearch-communication_rule";

        public static final String CONTENT_ITEM_TYPE = ITEM_TYPE_BASE + "contactssearch-communication_rule";
*/
    }

    /**
     * 我的状态
     */
    public static class StateData implements BaseColumns {

        public static final String STATE_ID = "state_id";

        public static final String STATE_TEXT = "state_text";

        public static final String TABLE_NAME = "state_table";

        public static final String PATH = "state_table";

        /*public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

        protected static final String ID_PATH = PATH + "/#";

        public static final String CONTENT_TYPE = DIR_TYPE_BASE + "contactssearch-state_table";

        public static final String CONTENT_ITEM_TYPE = ITEM_TYPE_BASE + "contactssearch-state_table";

        protected static final HashMap<String, String> state_map;

        static {

            state_map = new HashMap<String, String>();
            state_map.put(StateData.STATE_ID, StateData.STATE_ID);
            state_map.put(StateData.STATE_TEXT, StateData.STATE_TEXT);

        }*/
    }

    public static class ChatGroupData implements BaseColumns {
        public static final String TABLE_NAME = "chatgroup_table";

        public static final String ID = "_id";

        public static final String CHAT_GROUP_ID = "chatgroup_id";

        public static final String CHAT_GROUP_NAME = "chatgroup_name";

        public static final String LAST_UPDATE_TIME = "lastupdate_time";

        public static final String PATH = "chatgroup_table";

        public static final String CHAT_GROUP_IMG = "chatgroup_img";

        public static final String LAST_MSG_NAME = "last_msg_name";

        public static final String LAST_MSG_CONTENT = "last_msg_content";

//        public static final String UN_REGISTERED = "un_registered";

        public static final String USER_TYPE = "user_type";

        public static final String CREATOR_NAME = "creator_name";

        public static final String IS_NEW = "is_new";

        public static final String UNREAD_COUNT = "unread_count";

        public static final String TYPE = "type";

        public static final String IS_ACTIVE = "is_active";

        public static final String MEMBER_COUNT = "member_count";

//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

        /*protected static final HashMap<String,String> CHAT_GROUP_MAP;

        static{
            CHAT_GROUP_MAP = new HashMap<String, String>();
            CHAT_GROUP_MAP.put(CHAT_GROUP_ID,CHAT_GROUP_ID);
            CHAT_GROUP_MAP.put(CHAT_GROUP_NAME,CHAT_GROUP_NAME);
            CHAT_GROUP_MAP.put(LAST_UPDATE_TIME,LAST_UPDATE_TIME);
            CHAT_GROUP_MAP.put(CHAT_GROUP_IMG,CHAT_GROUP_IMG);
        }*/

    }


    public static class EventData implements BaseColumns {
        public static final String TABLE_NAME = "event_table";

        public static final String ID = "_id";

        public static final String UPDATE_TIME = "update_time";
        public static final String EVENT_TYPE = "event_type";
        public static final String EVENT_NAME = "event_name";
        public static final String EVENT_ID = "event_id";
        public static final String USER_TYPE = "user_type";
        public static final String HAS_READ = "has_read";
        public static final String CREATE_TIME = "create_time";
        public static final String USER_ID = "user_id";
        public static final String USER_NAME = "user_name";
        public static final String MEMBER_COUNT = "member_count";
        public static final String EVENT_TITLE = "event_title";
        public static final String CONTENT1 = "content1";
        public static final String INIT_TITLE1 = "init_title1";
        public static final String URL1 = "url1";
        public static final String CONTENT2 = "content2";
        public static final String INIT_TITLE2 = "init_title2";
        public static final String URL2 = "url2";
        public static final String CONTENT3 = "content3";
        public static final String INIT_TITLE3 = "init_title3";
        public static final String URL3 = "url3";
        public static final String HAS_READ_COUNT = "has_read_count";
        public static final String REPLY_COUNT = "reply_count";
        public static final String REPLY_LAST_NAME = "reply_last_name";
        public static final String REPLY_LAST_CONTENT = "reply_last_content";
        public static final String UNREAD_COUNT = "unread_count";
        public static final String ATTACHMENT_THUMB_IMAGE = "attachment_thumb_image";
        public static final String ATTACHMENT_ORI_IMAGE = "attachment_ori_image";
        public static final String ATTACHMENT_VOICE = "attachment_voice";
        public static final String ATTACHMENT_FILE = "attachment_file";
        public static final String RECEIVER = "receiver";
        public static final String AUTHOR = "author";
        public static final String EVENT_AVATAR = "event_avatar";
        public static final String ACTIVITY_TIME = "activity_time";
        public static final String END_TIME = "end_time";
        public static final String ACTIVITY_SITE = "activity_site";
        public static final String JOIN_COUNT = "join_count";
        public static final String HAS_JOIN = "has_join";
        public static final String VOTES = "votes";
        public static final String VOTE_NUMBER = "vote_number";
        public static final String IS_QRCODE = "is_qrcode";
        public static final String QRCODE = "qrcode";
        public static final String MY_USERID = "my_userid";
        public static final String PATH = "event_table";

//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

    }

    public static class EventModelData implements BaseColumns {
        public static final String TABLE_NAME = "event_model_table";

        public static final String ID = "_id";
        public static final String EVENT_TYPE = "event_type";
        public static final String EVENT_TYPE_NAME = "event_type_name";
        public static final String EVENT_ID = "event_id";
        public static final String EVENT_RECEIVER = "event_receiver";
        public static final String EVENT_TIME = "event_time";
        public static final String EVENT_TITLE = "event_title";
        public static final String CONTENT1 = "content1";
        public static final String INIT_TITLE1 = "init_title1";
        public static final String CONTENT2 = "content2";
        public static final String INIT_TITLE2 = "init_title2";
        public static final String CONTENT3 = "content3";
        public static final String INIT_TITLE3 = "init_title3";
        public static final String ATTACHMENT_THUMB_IMAGE = "attachment_thumb_image";
        public static final String ATTACHMENT_ORI_IMAGE = "attachment_ori_image";
        public static final String USER_ID = "user_id";

        public static final String PATH = "event_model_table";

//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

    }

    public static class EventDraftsData implements BaseColumns {
        public static final String TABLE_NAME = "event_drafts_table";

        public static final String ID = "_id";
        public static final String EVENT_TYPE = "event_type";
        public static final String EVENT_TYPE_NAME = "event_type_name";
        public static final String EVENT_ID = "event_id";
        public static final String EVENT_RECEIVER = "event_receiver";
        public static final String EVENT_TIME = "event_time";
        public static final String EVENT_TITLE = "event_title";
        public static final String CONTENT1 = "content1";
        public static final String INIT_TITLE1 = "init_title1";
        public static final String CONTENT2 = "content2";
        public static final String INIT_TITLE2 = "init_title2";
        public static final String CONTENT3 = "content3";
        public static final String INIT_TITLE3 = "init_title3";
        public static final String ATTACHMENT_THUMB_IMAGE = "attachment_thumb_image";
        public static final String ATTACHMENT_ORI_IMAGE = "attachment_ori_image";
        public static final String USER_ID = "user_id";
        public static final String AUTHOR = "author";
        public static final String ACTIVITY_TIME = "activity_time";
        public static final String END_TIME = "end_time";
        public static final String IS_QRCODE = "is_qrcode";
        public static final String ACTIVITY_SITE = "activity_site";

        public static final String PATH = "event_drafts_table";

//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

    }

    /**
     * 来电显示数据
     */
    public static class ContactData implements BaseColumns {
        public static final String TABLE_NAME = "contact_table";
        public static final String ID = "_id";
        public static final String MY_USER_ID = "my_user_id";
        public static final String CONTACT_NAME = "contact_name";
        public static final String CONTACT_PHONE = "contact_phone";
        public static final String CONTACT_JOB = "contact_job";
        public static final String CONTACT_GROUP = "contact_group";
        public static final String CONTACT_GROUP_ID = "contact_group_id";
        public static final String PATH = "contact_table";
//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

    }


    public static class UserData implements BaseColumns {
        public static final String TABLE_NAME = "user_table";
        public static final String ID = "_id";
        public static final String USER_ID = "user_id";
        public static final String USER_NAME = "user_name";
        public static final String USER_IMG = "user_img";
        public static final String PATH = "user_table";
//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);

    }

    /**
     * 人脉圈
     */
    public static class TalkData implements BaseColumns {
        public static final String TABLE_NAME = "talk_table";
        public static final String ID = "_id";
        public static final String TALK_ID = "talk_id";
        public static final String USER_ID = "user_id";
        public static final String USER_NAME = "user_name";
        public static final String USER_IMG = "user_img";
        public static final String TALK_TEXT = "talk_text";
        public static final String TALK_THUMBIMAGE = "talk_thumb_image";
        public static final String TALK_ORIIMAGE = "talk_ori_image";
        public static final String TALK_UPDATE_TIME = "talk_update_time";
        public static final String TALK_CREATE_TIME = "talk_create_time";
        public static final String TALK_ISPRAISE = "talk_isPraise";
        public static final String TALK_COMMENTS = "talk_comments";
        public static final String TALK_CONTENT_TYPE = "talk_content_type";
        public static final String TALK_CONTENT_KEY = "talk_content_key";
        public static final String TALK_ACTION = "talk_action";//判断是个人空间的还是人脉圈的
        public static final String TALK_COMMENTS_LIST = "talk_comments_list"; // 评论列表
        public static final String TALK_PRAISES_LIST = "talk_praises_list"; // 点赞列表
        public static final String PATH = "talk_table";
//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);
    }

    /**
     * 人脉圈
     */
    public static class TalkMyMsgData implements BaseColumns {
        public static final String TABLE_NAME = "talk_my_msg_table";
        public static final String ID = "_id";
        public static final String MSG_TYPE = "msg_type";
        public static final String MSG_UID = "msg_uid";
        public static final String MSG_UNAME = "msg_uname";
        public static final String MSG_UIMG = "msg_uimg";
        public static final String MSG_RECV_UID = "msg_recv_uid";
        public static final String MSG_RECV_UNAME = "msg_recv_umane";
        public static final String MSG_COMMENT = "msg_comment";
        public static final String MSG_CTIME = "msg_ctime";
        public static final String TALK_ID = "talk_id";
        public static final String TALK_THUMB = "talk_thumb";//发布的图片的一张组合图
        public static final String TALK_UNAME = "talk_uname";
        public static final String TALK_UIMG = "talk_uimg";
        public static final String TALK_UID = "talk_uid";//发布者的userId
        public static final String TALK_TEXT = "talk_text";//talk文本内容
        public static final String TALK_TIME = "talk_time"; // talk创建时间
        public static final String PATH = "talk_my_msg_table";
//        public static final Uri CONTENT_URI = Uri.withAppendedPath(CONTENT_URI_BASE, PATH);
    }


    /**
     * 闹钟提醒
     */
    public static class AlarmWarnData implements BaseColumns {
        public static final String TABLE_NAME = "alarm_warn_table";
        public static final String ID = "_id";
        public static final String EVENT_ID = "event_id";
        public static final String EVENT_TITLE = "event_title";
        public static final String NOTICE = "notice";
        public static final String ALERT_DATETIME = "alert_datetime";
        public static final String START_DATETIME = "start_datetime";
        public static final String END_DATETIME = "end_datetime";
        public static final String CREATE_TIME = "create_time";
        public static final String REMARK = "remark";
        public static final String BOSS_UID = "boss_uid";
        public static final String DELEGATE_USER = "delegate_user";
        public static final String DELEGATE_USERNAME = "delegater_username";
        public static final String ADDRESS = "address";
        public static final String UPDATE_TIME = "update_time";
        public static final String PATH = "alarm_warn_table";
    }

    public static class CalendarData implements BaseColumns{
        public static final String TABLE_NAME = "calendar_table";
        public static final String ID = "_id";
        public static final String USER_ID = "user_id";
        public static final String YEAR = "year";
        public static final String MONTH = "month";
        public static final String DAY = "day";
        public static final String STATUS = "status";
        public static final String STATE = "state";

    }


    public static class AttendanceUserCalendarData implements BaseColumns{
        public static final String TABLE_NAME = "attendance_calendar_table";
        public static final String ID = "form_id";
        public static final String USER_ID = "user_id";
        public static final String YEAR = "year";
        public static final String MONTH = "month";
        public static final String DAY = "day";
        public static final String STATUS = "status";
        public static final String CHEAT = "cheat";
        public static final String GROUP_ID="group_id";
        public static final String IS_LEGWORK="is_legwork";

    }

    /**
     * 系统通知
     */
    public static class SystemListData implements BaseColumns{
        public static final String TABLE_NAME = "attendance_calendar_table";
        public static final String ID = "push_id";
        public static final String USER_ID = "user_id";
        public static final String PUSH_TITLE = "push_title";
        public static final String PUSH_TYPE = "push_type";
        public static final String CREATE_TIME = "create_time";
        public static final String EXTRA = "extra";

    }

    /**
     * 审批
     */
    public static class ApprovalData implements BaseColumns{
        public static final String TABLE_NAME = "approval_table";
        public static final String ID = "_id";
        public static final String MY_USER_ID = "my_user_id";
        public static final String USER_ID = "user_id";
        public static final String USER_NAME = "user_name";
        public static final String USER_IMAGE = "user_image";

        public static final String APPROVAL_LIST_TYPE = "list_type";
        public static final String APPROVAL_ID = "approval_id";
        public static final String APPROVAL_GROUP_ID = "approval_group_id";
        public static final String APPROVAL_TYPE = "approval_type";
        public static final String APPROVAL_LEAVE_TYPE = "approval_leave_type";
        public static final String APPROVAL_ADDRESS = "approval_address";
        public static final String APPROVAL_START_TIME = "approval_start_time";
        public static final String APPROVAL_END_TIME = "approval_end_time";
        public static final String APPROVAL_START_PART = "approval_start_part";
        public static final String APPROVAL_END_PART = "approval_end_part";
        public static final String APPROVAL_DAY = "approval_day";
        public static final String APPROVAL_MONTH = "approval_month";
        public static final String APPROVAL_YEAR = "approval_year";
        public static final String APPROVAL_REASON = "approval_reason";

        public static final String APPROVE_ADMIN = "approve_admin";
        public static final String APPROVE_ADMIN_NAME = "approve_admin_name";
        public static final String APPROVE_ADMIN_IMAGE = "approve_admin_image";

        public static final String APPROVAL_DONE_TIME = "approval_done_time";
        public static final String APPROVAL_TIME = "approval_time";
        public static final String APPROVAL_STATUS = "approval_status";
        public static final String APPROVAL_REFUSE_REASON = "approval_refuse_reason";
        public static final String APPROVAL_CANCEL = "approval_cancel";
        public static final String APPROVAL_CANCEL_REASON = "approval_cancel_reason";
        public static final String APPROVAL_CANCEL_TIME = "approval_cancel_time";
        public static final String APPROVAL_CANCEL_DONE_TIME = "approval_cancel_done_time";
        public static final String APPROVAL_DATES = "approval_dates";

    }


    public static class WeeklyListData implements BaseColumns{
        public static final String TABLE_NAME = "weekly_list_table";
        public static final String ID = "_id";
        public static final String WEEKLY_IDS = "ids";
        public static final String WEEK_COUNT = "week_count";
        public static final String YEAR = "year";
        public static final String MONTH = "month";
        public static final String GROUP_ID="group_id";

    }


    public static class WeeklyDetailData implements BaseColumns{
        public static final String TABLE_NAME = "weekly_detail_table";
        public static final String ID = "_id";
        public static final String WEEKLY_ID = "weekly_id";
        public static final String YEAR = "year";
        public static final String MONTH = "month";
        public static final String WEEK_COUNT= "week_count";
        public static final String USER_ID = "user_id";
        public static final String USER_NAME = "user_name";
        public static final String USER_IMG = "user_img";
        public static final String CREATE_TIME = "create_time";
        public static final String CONTENT = "content";
        public static final String COMMENT = "comment";
        public static final String GROUP_ID="group_id";
        public static final String ACTION="action";

    }

    /**
     * 'weekly_id':        (string),周报id
     'group_id':         (int),团队id
     'comment_user_id':  (int),评论人userId,
     'comment_user_name':(string),评论人姓名
     'comment_user_image': (string),评论人头像,
     'comment_content':  (string)评论内容,
     'comment_time':     (int)评论时间
     'weekly_title':     (string)周报摘要,   如 '2016年4月第3周周报'
      weekly_content
     */

    public static class WeeklyUnReadData implements BaseColumns{
        public static final String TABLE_NAME = "weekly_un_read_table";
        public static final String ID = "_id";
        public static final String WEEKLY_ID = "weekly_id";
        public static final String GROUP_ID = "group_id";
        public static final String USER_ID = "user_id";
        public static final String COMMENT_USER_ID = "comment_user_id";
        public static final String COMMENT_USER_NAME = "comment_user_name";
        public static final String COMMENT_USER_IMAGE="comment_user_image";
        public static final String COMMENT_CONTENT = "comment_content";
        public static final String COMMENT_TIME = "comment_time";
        public static final String WEEKLY_TITLE = "weekly_title";
        public static final String WEEKLY_CONTENT="weekly_content";

    }


    public static class CRMClueLibraryFilterData implements BaseColumns{
        public static final String TABLE_NAME = "crm_clue_library_filter";
        public static final String ID = "_id";
        public static final String PARENT_NAME = "parent_name";
        public static final String PARENT_ID = "parent_id";
        public static final String CHILD_NAME = "child_name";
        public static final String CHILD_ID = "child_id";
        public static final String PARENT_SELECTED="parent_selected";
        public static final String CHILD_SELECTED="child_selected";
        public static final String IF_CHECKBOX="if_checkbox";//是否是多选,多选还是单选
        public static final String TYPE="type";//0.公海,1.线索库,2.机会库,3.客户库


    }





}
